<#-- 实体类生成模板 -->
package ${packageName};
<#list importPackage as importPackage>
import ${importPackage};
</#list>
/**
 * <p>${classDesc}</p>
 * @author ${userName}
 * @since ${currentDate}
 */
<#if annotations ??>
<#list annotations as annotation>
@${annotation}
</#list>
<#else>
</#if>
public class ${className}<#if extendsClass ??> extends ${extendsClass} <#else> </#if><#if baseInterfaceName ??> implements ${baseInterfaceName} <#else> </#if>{

    <#list mapperRelations as mapperRelation>
    <#if mapperRelation.columnComment ??>
    /**
     * ${mapperRelation.columnComment}
     */
    </#if>
	<#if mapperRelation.annotation ??>
    @${mapperRelation.annotation }
    </#if>
    private ${mapperRelation.propertyType} ${mapperRelation.property};<#if mapperRelation_has_next> ${"\n"} </#if>
    </#list>

    <#if functionMsgs ??>
    <#list functionMsgs as functionMsg>
    <#if functionMsg.funcDesc??>
    /**
     * ${functionMsg.funcDesc}
     */
    </#if>
    <#list functionMsg.annotationList as annota>
    @${annota}
    </#list>
    public ${functionMsg.resultType} ${functionMsg.functionName}(<#list functionMsg.paramterList as param>${param.paramterType} ${param.paramterName}<#if param_has_next>${","}</#if></#list>){
      return ${injectClass?uncap_first}.${functionMsg.functionName}(<#list functionMsg.paramterList as param>${param.paramterName}<#if param_has_next>${","}</#if></#list>);
    }
    <#if functionMsg_has_next>${"\n"}</#if>
	</#list>
	</#if>
}